paxCompiler 4.2 Full Source
About paxCompiler
paxCompiler is an embeddable cross-platform compiler of the Object Pascal, Basic and JavaScript programming languages. The key features of the paxCompiler are:
- The compiler generates machine code for Intel compatible processors (IA-32/64 architecture) for platforms: Win32/Win64, Mac OS, iOS Simulator.
- The second script runner is a cross-platform interpreter based on intermediate code. Supported platforms are Win32/Win64, Linux, Android, Mac OS, iOS Simulator, iOS Device.
- The compiler is written in Delphi and it is compatible with Free Pascal/Lazarus 32/64 bit.
- It is possible to use the compiler as a scripting engine, so you can customize and extend the application without having to recompile it.
- The compiler supports Object Pascal language based on the Delphi 7 standard and extends it with generic types, operator overloading, anonymous functions and closures, lambda-expressions. Syntax of Basic language is similar to VB.NET. JavaScript implementation is based on ECMA-262 standard.
- Cross-language programming support. You can use Pascal units in Basic and JavaScript programs and vice versa.
- COM support.
- paxCompiler components allow you to implement debugger and code explorer.
- Script-defined types support run-time information (RTTI).
- You can bind instances of script-defined classes with dfm files.
- You can import host-defined types with paxCompiler importer. Automatic import of host-defined types is available for Delphi XE2-XE7.
- You can create stand alone executable files and dlls.
- Support of compiled units and run-time packages.
- paxCompiler engine is thread safe.
- The nearest milestones on road map of the compiler development include: C/C++ compiler and native code generator for ARM processors.
What's New
- 12 October 2014. paxCompiler v4.2.
- Added support of class helper types and record helper types.
- paxImporter has been updated to import host-defined helper types.
- Native code generators for Mac OS and iOS Simulator platforms.
- Script identifiers can be written in national alphabets and symbols.
- Increased speed of script running.
- Consequently, paxCompiler is running on all platforms supported by Delphi XE6.
- You can use importer in batch files.
- Thread-safe import of global members of Delphi units.
- Bug fixes.
- Support of Delphi XE6.
- Support of CentOS Linux 32-bit.
- Added properties OnVirtualObjectMethodCall, OnVirtualObjectPutProperty to TPaxRunner class.
- Added events to Pascal parser. You can parse interface part of XE5-XE6 units.
- Improvements and bug fixes in JavaScript implementation.
- Automatic import of Delphi units (Delphi XE2-XE5).
- Support of Free Pascal 2.6.2 and Lazarus (Win32/Win64).